using MediatR;
using S.M.SmartMedical.Domain.DTOs;
using S.M.SmartMedical.ErrorCode;

namespace S.M.SmartMedical.API.Read.Application.Query
{
    /// <summary>
    /// 根据ID获取医院详情查询对象
    /// </summary>
    public class GetHospitalByIdQuery : IRequest<APIResult<HospitalDto>>
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="id">医院ID</param>
        public GetHospitalByIdQuery(int id)
        {
            Id = id;
        }
    }
}